package ace.module.account.core.impl.manager;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.DtoManager;
import ace.module.account.api.model.dto.IamApplicationOauth2ClientDto;
import ace.module.account.core.impl.dao.entity.IamApplicationOauth2Client;

/**
 * 账户应用与oauth2客户端关系 spring data jdbc querydsl rsql manager.
 *
 * @author Caspar
 */
public interface IamApplicationOauth2ClientManager extends DtoManager<IamApplicationOauth2Client, Long, IamApplicationOauth2ClientDto> {

  IamApplicationOauth2Client getByIdOfClientIdAndDeleteFlagIsFalse(String idOfClient);

  IamApplicationOauth2Client getAndCheckNotNullByIdOfClientIdAndDeleteFlagIsFalse(String idOfClient);
}